package com.ld.security.auth.common.base.constants;

import com.ld.security.common.mybatis.base.constant.SuperConstant;

public class JwtTokenConstant extends SuperConstant {

    public enum tokenType implements SuperEnum{
        user("用户"),
        client("客户端")
        ;

        tokenType(String label) {
            this.label = label;
        }

        private final String label;


        @Override
        public String getLabel() {
            return label;
        }

        @Override
        public String getValue() {
            return this.name();
        }
    }

    public enum tokenStatus implements SuperEnum{
        not_auth("没认证"),
        login_auth("登陆认证"),
        accredit_auth("授权认证"),
        logout("注销"),
        kickout("下线"),
        ;

        tokenStatus(String label) {
            this.label = label;
        }

        private final String label;


        @Override
        public String getLabel() {
            return label;
        }

        @Override
        public String getValue() {
            return this.name();
        }
    }

}

